﻿using L.EntityFramework;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace L.EntityModel
{
    [Table("AntiFleeing_Warehouse")]
    public class AntiFleeing_Warehouse : BaseEntity
    {
        [Key]
        public int ID { get; set; }
        /// <summary>
        /// 机构ID
        /// </summary>
        public int? EnterpriseId { get; set; }
        /// <summary>
        /// 片区ID
        /// </summary>
        public int? SaleAreaId { get; set; }
        [NotMapped]
        public string Name { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string WarehouseName { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string Contacts { get; set; }
        /// <summary>
        /// 联系人电话
        /// </summary>
        public string ContactTel { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 删除标记
        /// </summary>
        public int? ViewDel { get; set; }

        public int? ChangeLoginID { get; set; }
        public string ChangeLoginName { get; set; }
        public DateTime? ChangeDate { get; set; }
         [NotMapped]
        public string EnterpriseName { get; set; }
    }
}
